package com.qen.constant;

/**
 * 用户常量信息
 *
 * @author lcz
 */
public class DataBaseConstants {

    /**
     * 正常状态
     */
    public static final String NORMAL = "0";

    /**
     * 异常状态
     */
    public static final String EXCEPTION = "1";

    /**
     * 用户封禁状态
     */
    public static final String USER_DISABLE = "1";

    /**
     * 角色封禁状态
     */
    public static final String ROLE_DISABLE = "1";

    /**
     * 部门正常状态
     */
    public static final String DEPT_NORMAL = "0";

    /**
     * 部门停用状态
     */
    public static final String DEPT_DISABLE = "1";

    /**
     * 仅查本级部门
     */
    public static final int PERMISSION_OURSE_DEPT = 1;

    /**
     * 仅查本级部门及本级公司
     */
    public static final int PERMISSION_OURSE_DEPT_COMPANY = 2;
    /**
     * 本级及下级部门/公司
     */
    public static final int PERMISSION_OURSE_DEPT_NEXT = 3;
    /**
     * 仅本人
     */
    public static final int PERMISSION_OURSE = 4;

    /**
     * 部门类型：部门
     */
    public static final int DEPT_TYPE_DEPT = 1;
    /**
     * 部门类型：公司
     */
    public static final int DEPT_TYPE_COMPANY = 2;
    /**
     * 部门类型：超管
     */
    public static final int DEPT_TYPE_ADMIN = 0;

    public static final String RESOURCE_PREFIX = "/static";

    /**
     * wrapper 内部参数相关
     */
    public static final String WRAPPER_PARAM = "QENParam";
    // public static final String WRAPPER_PARAM_MIDDLE = ".paramNameValuePairs" + StrUtil.DOT;
    public static final String PERCENT = "%";
    public static final String HASH_LEFT_BRACE = "#{";

    public static final CharSequence LEFT_BRACKET = "(";
    public static final CharSequence RIGHT_BRACKET = ")";
    public static final String WRAPPER = "ew";
    public static final String PLUS = " + ";
    public static final String DASH = " - ";
}
